package com.le.edu.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Le
 * @create 2024-04-08 16:26
 */
@Data
public class CourseVO implements Serializable {
    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 课程讲师ID
     */
    private Long teacherId;

    /**
     * 课程专业ID
     */
    private Long subjectId;

    /**
     * 课程专业父级ID
     */
    private Long subjectPid;

    /**
     * 课程标题
     */
    private String title;

    /**
     * 课程销售价格，设置为0则可免费观看
     */
    private BigDecimal price;

    /**
     * 总课时
     */
    private Integer lessonNum;

    /**
     * 课程封面图片路径
     */
    private String coverUrl;

    /**
     * 销售数量
     */
    private Long buyCount;

    /**
     * 浏览数量
     */
    private Long viewCount;


    /**
     * 课程简介
     */
    private String description;

    /**
     * 课程讲师姓名
     */
    private String teacherName;

    /**
     * 课程讲师头像
     */
    private String teacherAvatar;

    /**
     * 课程讲师简介
     */
    private String teacherIntro;

    /**
     * 头衔 1高级讲师 2首席讲师
     */
    private String teacherLevel;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
